package com.bjpowernode.boss.mvc.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bjpowernode.boss.domain.PmsOperator;
import com.bjpowernode.boss.mvc.model.dto.OperatorLoginDto;
import com.bjpowernode.boss.mvc.model.dto.PmsMenuDto;
import com.bjpowernode.boss.mvc.model.query.OperatorLoginQuery;

import java.util.List;

/**
 * 操作服务类接口
 */
public interface OperatorService extends IService<PmsOperator> {
    OperatorLoginDto operatorLogin(OperatorLoginQuery operatorLoginQuery);

    List<PmsMenuDto> loadMenusByOperatorId(Long operatorId);

    void logout(Integer operatorId);
}
